﻿using System;
using System.Collections.Generic;

namespace MyHomeworkWebAPi.Models;

public partial class Order
{
    /// <summary>
    /// 订单ID
    /// </summary>
    public Guid OrderId { get; set; }

    /// <summary>
    /// 买家ID
    /// </summary>
    public Guid UserId { get; set; }

    /// <summary>
    /// 商品ID
    /// </summary>
    public Guid ProductId { get; set; }

    /// <summary>
    /// 状态（&apos;待付款&apos;, &apos;已完成&apos;, &apos;已取消&apos;, &apos;待发货&apos;,  &apos;运输中&apos;, &apos;待收货&apos;, &apos;退货中&apos;, &apos;换货中&apos;, &apos;退款中&apos;, &apos;部分退款&apos;, &apos;已拒收&apos;, &apos;售后处理中&apos;, &apos;冻结&apos; ）
    /// </summary>
    public string Status { get; set; } = null!;

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime CreateTime { get; set; }

    public virtual Product Product { get; set; } = null!;

    public virtual User User { get; set; } = null!;
}
